package com.opgea.tutor.domain.model;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class UserSessionData {

    private Long loginIdPrimaryKey;
    private String loginId;
    private String userName;
    private String emailId;
    private String userType;
    private Long primaryKey;
    private List<Page> pageList;
    private List<StringBinding> actionList = new ArrayList<StringBinding>();

    private Map<String, Map<String, Boolean>> resourceDetails;

    public Long getLoginIdPrimaryKey() {
	return loginIdPrimaryKey;
    }

    public void setLoginIdPrimaryKey(Long loginIdPrimaryKey) {
	this.loginIdPrimaryKey = loginIdPrimaryKey;
    }

    public String getLoginId() {
	return loginId;
    }

    public void setLoginId(String loginId) {
	this.loginId = loginId;
    }

    public String getUserName() {
	return userName;
    }

    public void setUserName(String userName) {
	this.userName = userName;
    }

    public String getEmailId() {
	return emailId;
    }

    public void setEmailId(String emailId) {
	this.emailId = emailId;
    }

    public String getUserType() {
	return userType;
    }

    public void setUserType(String userType) {
	this.userType = userType;
    }

    public Map<String, Map<String, Boolean>> getResourceDetails() {
	return resourceDetails;
    }

    public void setResourceDetails(
	    Map<String, Map<String, Boolean>> resourceDetails) {
	this.resourceDetails = resourceDetails;
    }

    public Long getPrimaryKey() {
	return primaryKey;
    }

    public void setPrimaryKey(Long primaryKey) {
	this.primaryKey = primaryKey;
    }

    public List<Page> getPageList() {
	return pageList;
    }

    public void setPageList(List<Page> pageList) {
	this.pageList = pageList;
    }

    public List<StringBinding> getActionList() {
	return actionList;
    }

    public void setActionList(List<StringBinding> actionList) {
	this.actionList = actionList;
    }

    @Override
    public String toString() {
	return "UserSessionData [loginIdPrimaryKey=" + loginIdPrimaryKey
		+ ", loginId=" + loginId + ", userName=" + userName
		+ ", emailId=" + emailId + ", userType=" + userType
		+ ", primaryKey=" + primaryKey + ", resourceDetails="
		+ resourceDetails + "]";
    }

}
